package com.team2.insulatingtools.modular.tools.entity;

import cn.stylefeng.roses.kernel.db.api.pojo.entity.BaseEntity;
import cn.stylefeng.roses.kernel.rule.annotation.ChineseDescription;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * @program: insulating_tools
 * @ClassName Scrap
 * @description:
 * @author: 张宁
 * @create: 2023-04-07 15:46
 * @Version 1.0
 **/
@TableName("t_scrap")
@Data
@EqualsAndHashCode(callSuper = true)
public class Scrap extends BaseEntity {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ChineseDescription("主键")
    private Integer id;


    /**
     *
     */
    @TableField("workshop_name")
    @ChineseDescription("车间名称")
    private String workshop;


    /**
     *
     */
    @TableField("team_name")
    @ChineseDescription("班组名称")
    private String team;

    /**
     *
     */
    @TableField("tool_name")
    @ChineseDescription("工具名称")
    private String name;

    /**
     * 工具id
     */
    @TableField("tool_id")
    @ChineseDescription("工具id")
    private Integer toolid;

    /**
     * 补充状态
     */
    @TableField("statue")
    @ChineseDescription("补充状态")
    private Integer statue;

    /**
     * 规格型号
     */
    @TableField("specification")
    @ChineseDescription("规格型号")
    private String specification;

    /**
     * 保管人
     */
    @TableField("keeper")
    @ChineseDescription("保管人")
    private String keeper;

    /**
     * 测试日期
     */
    @TableField("test_date")
    @ChineseDescription("测试日期")
    private Date testDate;

    /**
     * 有效截至日期
     */
    @TableField("expire_date")
    @ChineseDescription("有效截至日期")
    private Date expireDate;

    /**
     * 测试人
     */
    @TableField("tester")
    @ChineseDescription("测试人")
    private String tester;

    /**
     * 审核人
     */
    @TableField("auditor")
    @ChineseDescription("审核人")
    private String auditor;

    /**
     * 投运日期
     */
    @TableField("operate_date")
    @ChineseDescription("投运日期")
    private Date operatedate;

    /**
     * 实验结论
     */
    @TableField("conclusion")
    @ChineseDescription("实验结论")
    private String conclusion;

    /**
     * 编号
     */
    @TableField("number")
    @ChineseDescription("编号")
    private String number;


}
